home *** CD-ROM | disk | FTP | other *** search
/ Old Testament Foundatiosn with Philip Yancey / Old Testament Foundatiosn with Philip Yancey - Disc 1.iso / pc / data / m37.dir / 00016.ls < prev    next >
Encoding:
Text File  |  1996-09-06  |  929 b   |  32 lines

  1. on startMovie
  2.   global gOnIBM, gAnswerFieldSprite
  3.   set gAnswerFieldSprite to 10
  4.   identifyPlatform()
  5.   repeat with x = 1 to 10
  6.     put " " into field ("field" & x)
  7.     if gOnIBM then
  8.       set the textFont of field ("field" & x) to "Arial"
  9.       set the textSize of field ("field" & x) to 12
  10.       next repeat
  11.     end if
  12.     set the textFont of field ("field" & x) to "Geneva"
  13.     set the textSize of field ("field" & x) to 12
  14.   end repeat
  15. end
  16.  
  17. on checkKey
  18.   global gAnswerFieldSprite
  19.   if the key = TAB then
  20.     if gAnswerFieldSprite < 19 then
  21.       set the editableText of sprite gAnswerFieldSprite to 0
  22.       set gAnswerFieldSprite to gAnswerFieldSprite + 1
  23.       set the editableText of sprite gAnswerFieldSprite to 1
  24.     else
  25.       set the editableText of sprite gAnswerFieldSprite to 0
  26.       set gAnswerFieldSprite to 10
  27.       set the editableText of sprite gAnswerFieldSprite to 1
  28.     end if
  29.   end if
  30.   updateStage()
  31. end
  32.